package org.example.springboot.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
@lombok.Data
@AllArgsConstructor
@NoArgsConstructor
public class InBound {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("product_name")
    private String productName;

    @TableField("model_number")
    private String modelNumber;

    @TableField("supplier_name")
    private String supplierName;

    @TableField("quantity")
    private String quantity;

    @TableField("totalAmount")
    private String totalAmount;

    @TableField("in_order_id")
    private String inOrderId;

    @TableField("in_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private String inTime;
}
